<div id="navAlpha">
	<div class="title">
	<p><img src="../imgs/logo.png" alt="Pomby"><br /></div><b>Pomby Knowledgebase</b></p>
	<p>Release Notes / Pre-Check<br />
	<i>Step 1 - Database</i><br />
	<u>Step 2 - KB Details</u><br />
	<i>Step 3 - Plugins</i><br />
	<i>Step 4 - Admin Auth</i><br />
	<i>Step 5 - Write Config</i><br />
	<br /></p>
</div>
<div class="content">
{foreach from=$mvErrors item=i}
	<div class="error"><h3>Error: {$i.title}</h3>{$i.text}<div>{$i.time}</div></div>
{/foreach}

{if $db_pass == true}

<form name="step2" action="step3.php" method="post">

<fieldset><legend>Knowledgebase Details</legend>
Knowledgebase Name:<br />
<i>This is the name you will give to your knowledgebase, such as 'ACME Widget' </i><br />
<input type="text" name="install_kbname" value="{$default_kbname}" /><br />
<p>Knowledgebase URL:<br />
<i>This is the URL of your knowledgebase, e.g. http://domain.com/kb/ please include the http:// and the ending '/'</i><br />
<input type="text" name="install_kburl" value="{$default_kburl}" /><br />
Knowledgebase Home Page:<br />
<i>This is the URL back to your company/organisation home page, such as http://acme.com/widget - please include the http://</i><br />
<input type="text" name="install_kbhomeurl" value="{$default_kbhomeurl}" /><br />
</fieldset>

<br />
<input type="submit" name="submit" value="Continue">

</form>

{else}

<form name="step1" action="step1.php" method="post">

<h2>Unable to Create Database</h2>

<p>Details: {$error}</p>

<input type="hidden" name="install_dbuser" value="{$default_dbuser}" />
<input type="hidden" name="install_dbpassword" value="{$default_dbpassword}" />
<input type="hidden" name="install_dbhost" value="{$default_dbhost}" />
<input type="hidden" name="install_dbname" value="{$default_dbname}" />
<input type="hidden" name="install_dbmaxrec" value="{$default_dbmaxrec}" />

<br />
<input type="submit" name="submit" value="Go Back">

</form>

{/if}

</div>